FROM openjdk:14-alpine
MAINTAINER FuneralObjects <funeral_objects@qq.com>
ADD https://gitee.com/FuneralObjects/aliyun-ddns/releases/download/v1.2/aliyun-ddns-1.2.jar /app/aliyun-ddns.jar
WORKDIR /app
VOLUME /app/data
ENTRYPOINT ["java","-jar", "aliyun-ddns.jar", "--ddns.record-file=/app/data/ddns-data.csv"]